package org.thomias.swtmultithread.startstop;

import org.eclipse.jface.action.Action;

public class StopAction extends Action {
	private Application app;

	public StopAction(Application app) {
		this.app = app;
	}

	@Override
	public void run() {
		app.bu.interrupt();
		app.bu = null;
	}
}
